Regulation of algorithms